home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
scoobybigair.swf
/
scripts
/
frame_1
/
DoAction_3.as
< prev
next >
Wrap
Text File
|
2007-10-01
|
953b
|
50 lines
gameMC.HSLoading = function()
{
if(gameMC.gLoadInit != true)
{
gameMC.gGameState = "LOADING";
gameMC.gLoadStartTime = int(getTimer() / 1000);
gameMC.gLoadInit = true;
}
};
gameMC.HSLoaded = function()
{
tellTarget(gameMC.hs_scripts)
{
call("mLoaded");
}
};
gameMC.HSPlay = function()
{
tellTarget(gameMC.hs_scripts)
{
call("mPlay");
}
};
gameMC.HSLevelStart = function()
{
tellTarget(gameMC.hs_scripts)
{
call("mLevelStart");
}
};
gameMC.HSGameOver = function()
{
gameMC.gScore = Number(_root.gScore);
gameMC.gLevel = Number(_root.gLevel);
if(containerMC != null)
{
containerMC.hs_placeholder._x = 100;
containerMC.hs_placeholder._y = 60;
}
else
{
gameMC.hs_placeholder._x = 100;
gameMC.hs_placeholder._y = 60;
}
tellTarget(gameMC.hs_scripts)
{
call("mGameOver");
}
};